const _LOG_LEVEL_ERROR   = 'error';
const _LOG_LEVEL_WARNING = 'warn';
const _LOG_LEVEL_INFO    = 'info';
const _LOG_LEVEL_DEBUG   = 'debug';

module.exports = {

    REDIS:{
        host: '127.0.0.1',
        port: 6379,
        options:{
            db:9,
            auth_pass:''
        }
    },

    LOG:{
        level:_LOG_LEVEL_INFO,
        _LOG_LEVEL_ERROR:_LOG_LEVEL_ERROR,
        _LOG_LEVEL_WARNING:_LOG_LEVEL_WARNING,
        _LOG_LEVEL_INFO:_LOG_LEVEL_INFO,
        _LOG_LEVEL_DEBUG:_LOG_LEVEL_DEBUG
    },

    COOKIE:{
        CACHE_KEY:{
            PRONHUB:'C_PRONHUB'
        }
    },

    PROXY:{
        host:'127.0.0.1',
        port:7890,
        need:true
    },

    PARSER:{
        BASE_PATH:'../crawler/core/parser/'
    },

    DOWNLOAD:{
        path: 'D:\\download\\'
    },

    PUSH:{
        scp:{
            file: '',
            user: 'root',
            //趣点
            host: '192.168.31.10',
            port: '22',
            videoPath: '/data/content/long_video/',
            picPath:'/data/content/pic/thumbnail/',
            catePath:'/data/content/cate_img/'
        }
    },

    DATASOURCE:{
        host:'192.168.31.10',
        user:'root',
        password:'root',
        database:'x_video_test',
        port:3306
    },

    CMD:{
        timeout:10000000
    },

    ASSEMBLY:{
        URL_PREFIX:'http://192.168.31.10:8888/admin/lvideo/'
    }
};
